﻿using DLaB.XrmToolboxCommon.Properties;
using Microsoft.Xrm.Sdk;
using System;
using System.Drawing;
using System.Reflection;
using System.Windows.Forms;
using XrmToolBox;
using System.ComponentModel;
using McTools.Xrm.Connection;

namespace DLaB.XrmToolboxCommon
{
    /// <summary>
    /// This class adds the following three major features:
    /// Fully Implements IMsCrmToolsPluginUserControl
    /// Defines an Event for when the Connection is Updated, useful if needing to know when to refresh a connection specific cache
    /// Fully Implements the IWorkerHost which provides a much nicer api for requesting a connection then calling a method
    /// </summary>
    [IgnorePlugin]
    public class PluginUserControlBase : PluginBase
    {
        public override Image PluginLogo
        {
            get { return Resources.DLaB_Dynamics_Logo; }
        }
    }
}
